package com.hnchances.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Grades对象", description="")
public class Grades implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "课程关联id")
    @TableField("courseID")
    private Integer courseid;

    @ApiModelProperty(value = "考试关联id")
    @TableField("examID")
    private Integer examid;

    @ApiModelProperty(value = "班级关联id")
    @TableField("classID")
    private Integer classid;

    @ApiModelProperty(value = "成绩")
    private BigDecimal grades;

    @ApiModelProperty(value = "0-正常 1-删除")
    private Integer status;

    private Integer sid;

}
